<?php
die('@deprecated Use Pexi_Engine::execute($message) instead');
/* Bootstrap */
require '../bootstrap.php';



$client = new Zend_Http_Client('http://localhost/peXi/htdocs/receiver.php');
$client->setMethod(Zend_Http_Client::POST);


// Send message to receiver
$client->setParameterPost(array(
    'id' => $message['id'],
    'message' => $message['message']
));
$responseCode = $client->request()->getStatus();

echo (int) $responseCode;
